;	Framework Pop-up Menu Configuration
;
Comment		("Configured for Framework")

;
;	Parameters
;
ReverseVideo	(Yes)		; Menu is displayed in reverse video
EnableBeep	(No)		;Beeps if wrong button pressed with menu up
Position	(LowerLeft(3,21)) ;Menus in lower lefthand corner
;
;	Cursor Definitions
;
MenuC:	Cursor
(
	Left		([Left])
	Right		([Right])
	Up		([Up])
	Down		([Down])
	Sensitivity	(30,20)
	Hysteresis	(1,1)
)
WordC:	Cursor
(
	Left		([Left])
	Right		([Right])
	Up		([Up])
	Down		([Down])
	Sensitivity	(5,8)
	Hysteresis	(4,3)
)
NumsC:	Cursor
(
	Left		([Left])
	Right		([Right])
	Up		([Up])
	Down		([Down])
	Sensitivity	(13,8)
	Hysteresis	(1,1)
)

;
;	Button Definitions
;
LBM:	Button	(Menu(Main))		; Left button, Main Menu
MB:	Button	(Keys([Enter]))		; Middle button
RB:	Button	(Keys([ESC]))		; Right button
CLB:	Button	(Menu(CMain))
CRB:	Button	(Menu(Calc))
CRBM:	Button	(Keys([ESC]),Cursor(NumsC),Button(right=CRB))
WLB:	Button	(Menu(WMain))
WRB:	Button	(Menu(Word))
WRBM:	Button	(Keys([ESC]),Cursor(WordC),Button(right=WRB))
CMB:	Button	(Keys([Enter]),Cursor(NumsC),Button(right=CRB))
WMB:	Button	(Keys([Enter]),Cursor(WordC),Button(right=WRB))
;
;
;	Menu Definitions
;
Main: Menu
(
	Title	("Main")
	Item	("Framework Menu",	Keys([INS]))
	Item	("Up level",		Keys([Minus]))
	Item	("Down level",		Keys([Plus]))
	Item	("Shuttle",		Keys([&H8700]))
	Item	("Functions Keys",	Menu(FK))
	Item	("Help",		Keys([F1]))
	Item	("Yes",			Keys("Y"))
	Item	("Word Mode",		Cursor(WordC),Button(right=WRB),
					Button(middle=WMB),
					Button(leftright=WMB),
					Button(left=WLB))
	Item	("Numbers Mode",	Cursor(NumsC),Button(right=CRB),
					Button(middle=CMB),
					Button(leftright=CMB),
					Button(Left=CLB))
	Footer	("Desktop")
)
;
WMain: Menu
(
	Title	("Main")
	Item	("Framework Menu",	Cursor(MenuC),Keys([INS]),
					Button(right=WRBM))
	Item	("Up level",		Keys([Minus]))
	Item	("Down level",		Keys([Plus]))
	Item	("Shuttle",		Keys([&H8700]))
	Item	("Functions Keys",	Menu(FK))
	Item	("Help",		Keys([F1]))
	Item	("Yes",			Keys("Y"))
	Item	("Desktop Mode",	Cursor(MenuC),Button(right=RB),
					Button(middle=MB),
					Button(leftright=MB),
					Button(left=LBM))
	Item	("Numbers Mode",	Cursor(NumsC),Button(right=CRB),
					Button(middle=CMB),
					Button(leftright=CMB),
					Button(left=CLB))
	Footer	("Word")
)
;
CMain: Menu
(
	Title	("Main")
	Item	("Framework Menu",	Cursor(MenuC),Keys([INS]),
					Button(right=CRBM))
	Item	("Up level",		Keys([Minus]))
	Item	("Down level",		Keys([Plus]))
	Item	("Shuttle",		Keys([&H8700]))
	Item	("Functions Keys",	Menu(FK))
	Item	("Help",		Keys([F1]))
	Item	("Yes",			Keys("Y"))
	Item	("Desktop Mode",	Cursor(MenuC),Button(right=RB),
					Button(middle=MB),
					Button(leftright=MB),
					Button(left=LBM))
	Item	("Word Mode",		Cursor(WordC),Button(right=WRB),
					Button(middle=WMB),
					Button(leftright=WMB),
					Button(left=WLB))
	Footer	("Numbers")
)
;

FK: Menu
(
	Title	("Functions Keys Menu")
	Item	("Help",		Keys([F1]))
	Item	("Edit Formula",	Keys([F2]))
	Item	("Drag",		Keys([F3]))
	Item	("Size",		Keys([F4]))
	Item	("Recalc",		Keys([F5]))
	Item	("Extend Select",	Keys([F6]))
	Item	("Move",		Keys([F7]))
	Item	("Copy",		Keys([F8]))
	Item	("Zoom",		Keys([F9]))
	Item	("View",		Keys([F10]))
	Item	("Delete",		Keys([DEL]))
)
;
;
Calc: Menu
(
	Title	("Calc")
	Item	("@Sum(",               Keys("@Sum("))
	Item	("Select",		Keys([F6]))
	Item	(")",                   Keys(")"))
	Item	("(",                   Keys("("))
	Item	("+",                   Keys("+"))
	Item	("-",                   Keys("-"))
	Item	("*",                   Keys("*"))
	Item	("/",                   Keys("/"))
)
;
Word: Menu
(
	Title	("Word")
	Item	("Select Menu",		Menu(Select))
	Item	("Home",		Keys([Home]))
	Item	("End",			Keys([End]))
	Item	("PgUp",		Keys([Pgup]))
	Item	("PgDn",		Keys([PgDn]))
	Item	("Top",			Keys([c-Home]))
	Item	("End",			Keys([c-End]))
	Item	("@",			Keys("@"))
)
;
Select: Menu
(
	Title	("Select")
	Item	("Next Word",		Keys([c-Right]))
	Item	("Previous Word",	Keys([c-Left]))
	Item	("Next Sentence",	Keys([&H9700]))
	Item	("Previous Sentence",	Keys([&H9600]))
	Item	("Next Paragraph",	Keys([c-PgDn]))
	Item	("Previous Paragraph",	Keys([c-PgUp]))
)
;
;	Mouse Definition
;
Mouse
(
	Left		(LBM)
	Middle		(MB)
	Right		(RB)
	LeftRight	(MB)
	Cursor		(MenuC)
)
